package com.greenentity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Transient;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by admin on 2018/5/29.
 * 区域
 */
@Entity
public class Area {


    /**
     * workGuid : ac6f256e-5994-42b3-8bb5-46ba8542515c
     * sortNo : 1
     * tswcGuid : a22e89a4-136e-4ef5-b616-f89b098ff904
     * tourArea : 保护监控室
     * tplTscId : 1
     * tswcId : 5
     */
    @Id
    private Long tswcId;
    private String workGuid;
    private int sortNo;
    private String tswcGuid;
    private String tourArea;
    private Long tplTscId;
    @Transient
    private boolean select=false;

    @Generated(hash = 303180779)
    public Area(Long tswcId, String workGuid, int sortNo, String tswcGuid,
            String tourArea, Long tplTscId) {
        this.tswcId = tswcId;
        this.workGuid = workGuid;
        this.sortNo = sortNo;
        this.tswcGuid = tswcGuid;
        this.tourArea = tourArea;
        this.tplTscId = tplTscId;
    }

    @Generated(hash = 179626505)
    public Area() {
    }

    public boolean isSelect() {
        return select;
    }

    public void setSelect(boolean select) {
        this.select = select;
    }

    public String getWorkGuid() {
        return workGuid;
    }

    public void setWorkGuid(String workGuid) {
        this.workGuid = workGuid;
    }

    public int getSortNo() {
        return sortNo;
    }

    public void setSortNo(int sortNo) {
        this.sortNo = sortNo;
    }

    public String getTswcGuid() {
        return tswcGuid;
    }

    public void setTswcGuid(String tswcGuid) {
        this.tswcGuid = tswcGuid;
    }

    public String getTourArea() {
        return tourArea;
    }

    public void setTourArea(String tourArea) {
        this.tourArea = tourArea;
    }

    public Long getTplTscId() {
        return tplTscId;
    }

    public void setTplTscId(Long tplTscId) {
        this.tplTscId = tplTscId;
    }

    public Long getTswcId() {
        return tswcId;
    }

    public void setTswcId(Long tswcId) {
        this.tswcId = tswcId;
    }
}
